package com.czkt.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.czkt.pojo.SysUser;
import com.czkt.pojo.vo.SysUserVo;
import org.apache.ibatis.annotations.Param;


//@Repository
public interface SysUserMpper extends BaseMapper<SysUser> {

    SysUserVo loginByName(@Param("usrName") String usrName);

    SysUserVo login(@Param("usrName") String usrName,@Param("pwd") String pwd);

    IPage<SysUserVo> getPage(IPage<SysUserVo> page,@Param("sysUserVo") SysUserVo sysUserVo);
}
